package org.veloxbot.api.utils;

import java.util.List;
import java.util.ArrayList;

/**
 * @author Velox
 */
public class UUID {

	private static List<Integer> generated = new ArrayList<Integer>();

	/**
	 * Generates an ungenerated unique ID.
	 *
	 * @return An ungenerated unique ID.
	 */
	public static int generate() {
		final int id = generated.size();
		generated.add(id);
		return id;
	}
}
